﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster/SitePlantilla.Master" AutoEventWireup="true" CodeBehind="ListarUsuariosConsultar.aspx.cs" Inherits="Sistema_Totem.Vista.Usuarios.ListarUsuariosConsultar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<link href="/Styles/EstiloPlantilla.css" rel="stylesheet" type="text/css" />
     <div class="cuerpo">
    <div id="ruta" class="ruta">Usuarios > Listar Usuarios </div>
    <br />
    <br />
    <br />
         <asp:ScriptManager ID="ScriptManager1" runat="server">
         </asp:ScriptManager>
         <asp:UpdatePanel ID="UpdatePanel1" runat="server">
             <ContentTemplate>
                 <asp:GridView ID="GridViewConsultarUsuario" CssClass="tablas" runat="server" CellPadding="4"
                     ForeColor="#333333" AutoGenerateColumns="False" AlternatingRowStyle-BackColor="#e6e6e6"
                     GridLines="None" Width="600px" HorizontalAlign="Center" Style="text-align: center"
                     AllowPaging="True" OnPageIndexChanging="GridViewConsultarUsuario_PageIndexChanging"
                     OnSelectedIndexChanged="GridViewConsultarUsuario_SelectedIndexChanged" PageSize="8">
                     <HeaderStyle BackColor="#AA2828" ForeColor="White" />
                     <FooterStyle BackColor="#AA2828" ForeColor="White" />
                     <PagerStyle BackColor="#AA2828" ForeColor="White" HorizontalAlign="Center" />
                     <AlternatingRowStyle BackColor="#E6E6E6"></AlternatingRowStyle>
                     <Columns>
                         <asp:BoundField DataField="ID" HeaderText="Id" />
                         <asp:BoundField DataField="Usuario" HeaderText="Usuario" />
                         <asp:BoundField DataField="Rol" HeaderText="Rol" />
                         <asp:CommandField ButtonType="Image" HeaderText="Consultar" SelectImageUrl="~/Styles/Images/Search.png"
                             ShowSelectButton="True" />
                     </Columns>
                 </asp:GridView>
             </ContentTemplate>
             <Triggers>
                 <asp:AsyncPostBackTrigger ControlID="GridViewConsultarUsuario" />
             </Triggers>
         </asp:UpdatePanel> 
    </div>
</asp:Content>
